﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Modellayer;
using Dblayer;

namespace TestLayer
{
    public class Program
    {

        static void Main(string[] args)
        {
            //DbShowRoom sh = new DbShowRoom();
            //int rum = 2;
            //int sædeantal = 24;
            //string des = "Test";

            //ShowRoom sh1 = new ShowRoom(rum, sædeantal, des);
            //sh.createShowRoom(sh1);
            //ShowRoom sh3 = sh.findShowRoom(rum);

            Movie m = new Movie();
            m.Title = "Batman";

            ShowRoom sh = new ShowRoom();
            sh.showRoomNumber = 2;
            int showId = 2;
            string dt = "16/11-2012 20:43";



            Show show = new Show(m, sh, showId, dt);

            DbShow s = new DbShow();
            s.createShow(show);

            
            Console.WriteLine("{0}",show.movie);
            Console.ReadLine();
        }
    }
}
